#ifndef OTHERWIDGET_H
#define OTHERWIDGET_H

#include <Wt/WComboBox>
#include <Wt/WContainerWidget>
#include <QVector>
#include <QSharedPointer>
#include "DbSession.h"

namespace Wt {
    class WComboBox;
    class WVBoxLayout;
}

using namespace Wt;

class PersonalWidget;
//#include "PersonalWidget.h"

class OtherWidget : public WContainerWidget
{
private:
    int UserId;
    WComboBox *usersBox;
    PersonalWidget *page;
    QSharedPointer<QVector<QSharedPointer<User> > > users;
    WVBoxLayout *layout;

public:
    OtherWidget(int id,WApplication *app);
    virtual ~OtherWidget();

    /* slots */
    void onActivated(WString login);

};

#endif
